I suggest to use this Pycom LoRa-Mac nano-gateway to start with : LoPy Nano-Gateway Extended (Timeout and Retry) It was a development from the earlier version : LoPy Nano-Gateway